Having applied your gradient, click the button by Behaviours in your Timeline and give the frame (00) the label 'Start'. Then drag out the Composition bar to 5 seconds, and put a label there, 'Loop'. Then head back to 0 seconds.